import { IPSModelObject } from '../../ipsmodel-object';
import { IPSControlAction } from '../ipscontrol-action';
import { IPSControlHandlerAction } from '../ipscontrol-handler-action';

/**
 *
 * 子接口类型识别属性[]
 * @export
 * @interface IPSAjaxHandlerAction
 */
export interface IPSAjaxHandlerAction extends IPSModelObject, IPSControlHandlerAction, IPSControlAction {
  /**
   * 行为描述
   * @type {string}
   */
  actionDesc: string;

  /**
   * 行为类型
   * @type {string}
   */
  actionType: string;

  /**
   * 处理超时时长（毫秒）
   * @type {number}
   * @default -1
   */
  timeout: number;

  /**
   * 启用
   * @type {boolean}
   * @default true
   */
  valid: boolean;
}
